package com.voa.domain;

import java.util.Date;

import org.apache.struts2.json.annotations.JSON;
import org.team4.domain.Users;


public class BlogReply {

	private static final long serialVersionUID = 3038918604365202580L;
	private String id;
	private Users creator;
	private Date createTime;
	private Date editTime;
	private Blog blog;
	private String contents;
	private String isPT; // 是否为悄悄话

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Users getCreator() {
		return creator;
	}

	public void setCreator(Users creator) {
		this.creator = creator;
	}

	@JSON(format = "yyyy-MM-dd HH:mm")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@JSON(format = "yyyy-MM-dd HH:mm")
	public Date getEditTime() {
		return editTime;
	}

	public void setEditTime(Date editTime) {
		this.editTime = editTime;
	}

	public Blog getBlog() {
		return blog;
	}

	public void setBlog(Blog blog) {
		this.blog = blog;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public String getIsPT() {
		return isPT;
	}

	public void setIsPT(String isPT) {
		this.isPT = isPT;
	}
}